﻿using UnityEngine;
using System.Collections;
using System;

public class BattleScene : Scene {

	public void PlayBGM()
	{
		SoundController.PlayBGM("BGM_Battle");
	}

	public override void AwakeScene()
	{
		Debug.LogError("GC collect");
		Resources.UnloadUnusedAssets();
		GC.Collect();
	}

	public override void OnWillDestroy()
	{
		Debug.LogError("GC collect");
		Resources.UnloadUnusedAssets();
		GC.Collect();
	}
}
